package com.fooddelivery.Mapper;

import com.fooddelivery.Entity.Category;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 菜品及套餐分类 Mapper 接口
 * </p>
 *
 * @author zhengruiyang
 * @since 2025-08-31
 */
@Mapper
public interface CategoryMapper extends BaseMapper<Category> {

    @Delete("delete from category where id = #{id}")
    void removeById(Category category);
}
